package org.easy.eao.spring.jpa;

import java.util.Collection;

import org.easy.eao.annotations.Remove;
import org.easy.eao.annotations.Retrieve;
import org.easy.eao.spring.jpa.model.Exam;
import org.easy.eao.spring.jpa.model.Person;

public interface RemoveEao extends RemoveGenericEao<Person, Exam>{
	
	@Retrieve
	Person getPerson(String id);
	
	@Retrieve
	Exam getExam(Integer id);

	@Remove
	void single_entity(Person person);
	
	@Remove
	void multi_entity(Person person, Exam exam);
	
	@Remove
	void variable(Person...persons);
	
	@Remove
	void array(Person[] array);
	
	@Remove
	void collection(Collection<Person> persons);
}
